/*
 * Copyright (c) 2010 CCX(China) Co.,Ltd. All Rights Reserved.
 *
 * This software is the confidential and proprietary information of
 * CCX(China) Co.,Ltd. ("Confidential Information").
 * It may not be copied or reproduced in any manner without the express 
 * written permission of CCX(China) Co.,Ltd.
 *
 * Author: zhnb
 * Date: 2011-8-18 上午10:15:53
 */
package com.ccx.service;

import java.io.Serializable;

import Ice.Current;

import com.ccx.dto.ADTO;
import com.ccx.dto.ADTOHolder;

public class ParamTestI extends _ParamTestDisp implements Serializable {

    private static final long serialVersionUID = 2588904461473665820L;

    @Override
    public ADTO changeParam2(ADTO aDTO, Current current) {
        return null;
    }

    @Override
    public int getStatus(Current current) {
        return 0;
    }

    @Override
    public void changeParam(ADTOHolder aDTOHolder, Current current) {
        System.out.println(aDTOHolder.value);
        if (aDTOHolder.value != null) {
            System.out.println(aDTOHolder.value.str + ":" + aDTOHolder.value.mark);
        }
        
        // 改值
        ADTO aDTO = new ADTO();
        aDTO.str = "ParamTestI";
        aDTO.mark = true;
        aDTOHolder.value = aDTO;
        
    }

}
